package com.neulogistics.contrib.procuredcenter.domain.model.aggregate;

import com.neulogistics.infrastructure.ddd.domain.seedwork.Entity;
import com.neulogistics.infrastructure.ddd.domain.seedwork.IAggregateRoot;
import lombok.Data;

import java.util.List;

@Data
public class GoodsList extends Entity<Integer> implements IAggregateRoot {
    /**
     * id
     */
    private Integer listId;

    /**
     * 一级分类名
     */
    private String listName;

    /**
     * 一级分类描述
     */
    private String listDescription;

    /**
     * 是否删除
     */
    private Integer deleted;

    public GoodsList() {
    }

    public GoodsList(String listName, String listDescription) {
        this.listName = listName;
        this.listDescription = listDescription;
    }
}
